#include "cnpipe_actions.h"
#include "cnpipe_actionsofdisplayingshapes.h"
#include "cnpipe_jsonhandler.h"
#include "cnpipe_pipeline.h"
#include "cnpipe_realpipe.h"
#include "cnpipe_loaddisplacement.h"
#include "cnpipe_elementarystress.h"
#include "cnpipe_frequencydisplacement.h"
#include "cnpipe_spectrum.h"
#include "cnpipe_global.h"

#include "stdio.h"
#include <QObject>

CNPIPE_global::CNPIPE_global() {
    //处理JSON格式文件的管理器
    this->JSONHandler = new CNPIPE_jsonHandler(this);
    //专门用于设置管道显示范围的管理器
    this->pipeRangeDefiner = new CNPIPE_pipeRangeDefiner(this);
    //处理管线的对象
    this->pipeLine = new CNPIPE_pipeline(this);
    //处理实体管道的对象
    this->realPipe = new CNPIPE_realPipe(this);
    //处理工况位移的对象
    this->loadDisplacement = new CNPIPE_loadDisplacement(this);
    //处理应力（云）图的对象
    this->elementaryStress = new CNPIPE_elementaryStress(this);
    //处理振型位移的对象
    this->frequencyDisplacement = new CNPIPE_frequencyDisplacement(this);
    //处理反应谱的对象
    this->spectrum = new CNPIPE_spectrum(this);
    //处理CNPIPE的一些操作
    this->action = new CNPIPE_actions(this);
    this->actionsOfDisplayingShapes = new CNPIPE_actionsOfDisplayingShapes(this);
}
